package com.mdp.behavioral.command;

public class ConcreteCommand extends Command {
    
    private ReceiverExecutor receiver;
    
    public ConcreteCommand(ReceiverExecutor receiver) {
        this.receiver = receiver;
    }
    
    public void execute() {
        this.receiver.action();
    }
    
}
